package com.eastmoney.emis.edda.domain.event;

import com.eastmoney.emis.edda.domain.entity.EddaApply;

import java.util.HashMap;
import java.util.Map;

/**
 * @description: Description
 * @projectName: EDDA-HSBC
 * @package: com.eastmoney.emis.edda.domain.event
 * @author: 汪程程
 * @date: 2022/12/21 2:42 PM
 * @version: 1.0
 */
public class EddaFailEvent {
    private String eid;
    private String clientId;
    private Map<String, String> params;

    public EddaFailEvent(EddaApply eddaApply, Map<String, String> params) {
        this.eid = eddaApply.getEid();
        this.clientId = eddaApply.getClientId();
        this.params = new HashMap<>(params);
    }

    public String getEid() {
        return eid;
    }

    public String getClientId() {
        return clientId;
    }

    public Map<String, String> getParams() {
        return params;
    }
}
